package com.concurrent.chapter1.concurrent07;

public class ThreadP extends Thread {
	private Service service;
	public ThreadP(Service service) {
		super();
		this.service = service;
	}
	@Override
	public void run() {
		service.set();
	}
}
